package cn.itcast.user.mapper;

import cn.itcast.hmall.pojo.user.Address;
import cn.itcast.user.pojo.TbAddress;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 胡安宁
* @description 针对表【tb_address】的数据库操作Mapper
* @createDate 2022-06-22 23:04:23
* @Entity cn.itcast.user.pojo.TbAddress
*/
public interface TbAddressMapper extends BaseMapper<TbAddress> {

    List<Address> findAddressById(@Param("userId") Long userId);

    Address findById(@Param("addressId") String addressId);
}




